package ru.averta.notes.dao;

import org.hibernate.Criteria;
import ru.averta.notes.domain.Site;
import ru.averta.notes.domain.User;

import java.util.Collection;

/**
 *
 * @author fedor.belov
 */
public interface CommonSubjectDao {

    void remove(Long id);
    void remove(Site object);
    Collection<Site> findByUser(User user);
    public Criteria createHibernateCriteria();

}